import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store";
import Element from "element-ui";
import moment from "moment";
import jquery from 'jquery';

import "./filters/filters.js";
import "./plugins/axios";

import "element-ui/lib/theme-chalk/index.css";
import 'element-ui/lib/theme-chalk/display.css';
import "./css/index.css"

// 引入 Froala Editor js file.
require('froala-editor/js/froala_editor.pkgd.min')
//引入中文语言包
require('froala-editor/js/languages/zh_cn')
//引入 Froala Editor css files.
require('froala-editor/css/froala_editor.pkgd.min.css')
require('font-awesome/css/font-awesome.css')
require('froala-editor/css/froala_style.min.css')
// Import and use Vue Froala lib.
import VueFroala from 'vue-froala-wysiwyg'
Vue.use(VueFroala)

import '../static/UEditor/ueditor.config.js';
import '../static/UEditor/ueditor.all.js';
import '../static/UEditor/ueditor.parse.js';
import '../static/UEditor/lang/zh-cn/zh-cn.js';
import '../static/UEditor/themes/default/css/ueditor.css';

import '../static/UEditor/themes/default/images/spacer.gif';

Vue.prototype.$moment = moment;
Vue.use(Element);
Vue.config.productionTip = false

window.$ = jquery;
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
